package day15;

import java.util.Random;

public class Player {
    private static Player b[]=new Player[11];
    private Player(){}
    static {
        for (int i=0;i<b.length;i++){
            b[i]=new Player();
        }
    }
    public static Random r=new Random();

    public static Player get(){
        return b[r.nextInt(11)];
    }

    public static void main(String[] args) {
        for (int i=0;i<100;i++){
            System.out.println(Player.get());
        }
    }
}

